import { SPI, ViewType, FormFieldWidget } from '@kunlun/dependencies';
import DetailStringUpperCaseField from './DetailStringUpperCaseField.vue';

@SPI.ClassFactory(
  FormFieldWidget.Token({ viewType: [ViewType.Form, ViewType.Search], widget: 'FormStringUpperCaseFieldWidget' })
)
export class DetailStringUpperCaseFieldWidget extends FormFieldWidget {
  public initialize(props) {
    super.initialize(props);
    this.setComponent(DetailStringUpperCaseField);
    return this;
  }
}
